package com.rocker.graduation.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.rocker.graduation.entity.ErrorBean;

@Controller
public class testConnection {
	
	
	@RequestMapping(value="/test")
	@ResponseBody
	public ErrorBean test4Connection(@RequestBody ErrorBean errorBean){
		System.out.println(errorBean.getSuccess());
		return errorBean;
	}
	
}
